Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 4 - Dialog Manager Reference / Dialog Manager Resources


The Extended Dialog Resource

NEW WITH THE APPEARANCE MANAGER

Use an extended dialog resource with the same resource ID as your dialog resource to provide additional features for your dialog box, including movable modal behavior, theme-compliant backgrounds and controls, and embedding hierarchies. An extended dialog resource is a resource of type 'dlgx'. All extended dialog resources can be marked purgeable, and they must have the same resource ID and be located in the same file as their corresponding dialog resource. Use the function GetNewDialog to create the dialog box defined in the dialog resource and extended dialog resource.

Figure 4-2 shows the format of a compiled extended dialog resource.

Figure 4-2 Structure of a compiled extended dialog ('dlgx') resource

The compiled version of an extended dialog resource contains the following elements:


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998